package MiniZelda;

import java.awt.MouseInfo;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;

public class Mouse implements MouseListener, MouseMotionListener, MouseWheelListener{
    
	private int getX() {
		return MouseInfo.getPointerInfo().getLocation().x;
	}
	private int getY() {
		return MouseInfo.getPointerInfo().getLocation().y;
	}
	@Override
	public void mouseClicked(MouseEvent e) {
		e.getComponent().requestFocus();
	}

	@Override
	public void mouseEntered(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseExited(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mousePressed(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseReleased(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseWheelMoved(MouseWheelEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseDragged(MouseEvent e) {
		System.out.println("MD");
		
	}

	@Override
	public void mouseMoved(MouseEvent e) {
	System.out.println("Mouse Moved");
		
	}
	
}
